#ifdef __x86_64__

typedef unsigned long address_t;
#define JB_SP 6
#define JB_PC 7

#else

typedef unsigned int address_t;
#define JB_SP 4
#define JB_PC 5 

#endif

address_t translate_address(address_t addr);